'''用双重循环打印输出如下所示图形。'''

'''*********

    *******

     *****

      ***

       *'''
i = 1
for col in range(1,6):
    for cow in range(1,10):
        if col == i and i <= cow <= 10 - i:
            print("*",end = "")
        else:
            print(" ",end = "")

    print("\n")
    i += 1
